package com.ht.medicaltreatment.bean

data class OrderDetailBean(
    val transportOrder: TransportOrder,
    val transportRfidSampleBoxList: MutableList<TransportRfidSampleBox>
)

data class TransportOrder(
    val coldChainLogistics: String,
    val id: Int,
    val inputUserId: Int,
    val inputUserName: String,
    val newDate: String,
    val orderName: String,
    val orderNumber: String,
    val projectId: Int,
    val recipients: String,
    val recipientsAddress: String,
    val recipientsCity: String,
    val recipientsProvince: String,
    val recipientsTel: String,
    val remarks: String,
    val sampleCount: Int,
    val sender: String,
    val senderAddress: String,
    val senderCity: String,
    val senderProvince: String,
    val senderTel: String,
    //转出: 0(转出未导出.sample),2(转出已导出.sample),
    //转入: 1(转入未存入冰箱),3(转入已存入冰箱)
    val status: Int
)

data class TransportRfidSampleBox(
    val id: Int,
    val inputTime: String,
    val inputUserId: Int,
    val inputUserName: String,
    val isBatch: Int,
    val name: String,
    var position: String?,//选择的位置
    val remarks: String,
    val rfidCode: String,
    val tearCode: String,
    val sampleBoxId: Int,
    val sampleVOList: MutableList<SampleVO>?,
    val structureCol: Int,
    val structureRow: Int,
    val structureSpec: Int,
    val transportOrderId: Int,
    var transportStatus: Int // 0: 未盘点  1；已盘点
)

data class SampleVO(
    val location: Int,//位置信息
    val name: String, //样本名称
    val status: Int, //状态 (0:不存在;1:存在;2:借出)
    val transportRfidSampleId: Int,//转运样本id
    val uid: String  // 试管UID
)